package com.peanut.huibutie.common;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum OpenApiErrorCodeEnum {
    SUCCESS(200, "处理成功"),
    Unauthorized(401, "没有携带签名或者签名验证不通过(Unauthorized)"),
    TOKEN(402, "token过期或token不存在"),
    BIZ_ERROR(1003, "业务处理错误"),
    INTERNAL_SERVER_ERROR(500, "系统内部错误"),
    ;

    private int code;
    private String msg;
}
